<template>
  <div style="margin-top: 20px">
    <el-card :body-style="{ padding: '0px' }" class="box-card" style="width: 200px">
      <img style="width: 100%" src="https://masteryhh.oss-cn-beijing.aliyuncs.com/blog_img/202205151527937.jpg" class="image" alt="">
      <div style="text-align: center; margin-bottom: 5px; width: 100%;">
        <el-button size="mini" type="success" @click="reset">点击重置</el-button>
      </div>
    </el-card>
  </div>
</template>
<script>
export default {
  data() {
    return {};
  },
  methods: {
    reset () {
      this.postRequest("/employee/reset").then(resp => {
        if (resp && resp.status === 200) {
          console.log('success')
        }
      })
    }
  },
};
</script>
